/**
 * @author		Sergey Suzdalskiy
 * @e-mail:		sergey.suzdalskiy@gmail.com
 */
package ua.kiev.gcore.ui.page
{
	public class PageCommand
	{
		public static const None:int = 0;
		public static const Update:int = 1;
		public static const Data:int = 2;
		public static const GlobalTick:int = 3;
		
		private var _type:int;
		
		public var data:Object;
		
		public function PageCommand(commandId:int, data:Object = null)
		{
			_type = commandId;
			this.data = data;
		}
		public function get type():int{
			return _type;
		}
	}
}